package com.nzw.pojo.present;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Created by Administrator on 2018/5/23/023.
 */


@Table(name = "t_present")
public class Present {

    private Long id;
    private Long userId;
    private Long companyId;
    private String name;
    private String image;
    private String descr;
    private Integer chance;
    private Boolean receve;



    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    @Column(name = "userId")
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Column(name = "companyId")
    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "image")
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    @Column(name = "descr")
    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    @Column(name = "chance")
    public Integer getChance() {
        return chance;
    }

    public void setChance(Integer chance) {
        this.chance = chance;
    }


    @Column(name = "receve")
    public Boolean getReceve() {
        return receve;
    }

    public void setReceve(Boolean receve) {
        this.receve = receve;
    }
}
